<template>
    <div class="order">
        <div class="header-title">
            <span @click="$router.go(-1)" class="mint-toast-icon mintui mintui-back"></span>
            <span>交易页</span>
            <span></span>
        </div>
        <div class="header-search">
            <div class="header-search-detail" @click="$router.push({name:'OrderSearch'})">
                <span class="fa fa-search"></span>
                <input type="text" placeholder="请搜索币种" />
            </div>
        </div>
        <!-- 标题 -->
        <div class="title">
            <div>
                <img src="../../assets/img/remen.png" alt />
                <span>热门搜索</span>
            </div>
            <span></span>
        </div>
        <!-- list类别 -->
        <div class="history-list">
            <p>国家</p>
            <div>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
            </div>
        </div>
        <!-- 标题 -->
        <div class="title">
            <div>
                <img src="../../assets/img/lishi.png" alt />
                <span>历史记录</span>
            </div>
            <span>
                <img src="../../assets/img/lajixiang.png" alt />
            </span>
        </div>
        <!-- list类别 -->
        <div class="history-list">
            <p></p>
            <div>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
                <span>泰国</span>
            </div>
        </div>
    </div>
</template>
<script>
export default {};
</script>
<style lang="less" scoped>
.order {
    background-color: #eeeeee;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}
.header-title {
    background-color: @white;
}
.header-search {
    background-color: @blackColor1;
    height: 45px;
    padding: 9px 15px;
    .header-search-detail {
        .flexStartCenter();
        height: 100%;
        background-color: @white;
        color: @blackColor5;
        font-size: 12px;
        border-radius: 5px;
        padding: 0 15px;
        input {
            border: none;
            margin-left: 12px;
        }
    }
}
.title {
    width: 90%;
    margin: 0 auto;
    font-size: 14px;
    color: @blackColor5;
    .flexBetweenCenter();
    padding: 15px 15px;
    border-bottom: 1px solid #d5d5d5;
    > div {
        .flexStartCenter();
        img {
            width: 15px;
            margin-right: 8px;
        }
    }
    img {
        width: 20px;
    }
}
.history-list {
    width: 90%;
    margin: 0 auto;
    p {
        color: @blackColor8;
        font-size: 13px;
        padding: 8px 0;
    }
    div {
        padding: 0 4px;
        .flexStart();
        flex-wrap: wrap;
        span {
            width: 20%;
            display: inline-block;
            font-size: 14px;
            background-color: @white;
            border-radius: 4px;
            text-align: center;
            padding: 8px 0;
            margin-right: 5%;
            margin-bottom: 10px;
        }
    }
}
</style>
